<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
    <!-- 表格的父元素设置响应式，小于768px，出现边框 -->
    <table class="table table-responsive table-hover">
        <caption>经营产品大全</caption>
           <thead>
               <tr>
                   <th>产品</th>
                   <th>付款日期</th>
                   <th>状态</th>
               </tr>
           </thead>
           <tbody>
               <tr class="info">
                   <td>产品1</td>
                   <td>2020-1-1</td>
                   <td>待发货</td>
               </tr>
               <tr class="active">
                    <td>产品2</td>
                    <td>2021-2-2</td>
                    <td>已发货</td>
               </tr>
                <tr class="success">
                   <td>产品3</td>
                   <td>2020-3-3</td>
                   <td>未付款</td>
               </tr>
               <tr class="warning">
                    <td>产品4</td>
                    <td>2020-8-8</td>
                    <td>已退货</td>
               </tr>
               <tr class="danger">
                    <td>产品5</td>
                    <td>2021-6-6</td>
                    <td>已退款</td>
               </tr>
           </tbody>
    </table>
</body>
</html>